/* 全局css */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.02);
}

* {
    box-sizing: border-box;
}

a {
    color: #8f8f8f;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 7px;
    height: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #8a8a8a;
    border-radius: 10px;
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #8a8a8a;
    box-shadow: inset 0 0 6px #8a8a8a;
    background-color: #8a8a8a;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icons {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 .2rem .2rem .2rem;
    vertical-align: middle;
}

/* 导航栏css */
.navbar {
    width: 100%;
    height: 3.5rem;
    background: #fff;
    display: flex;
    flex-wrap: nowrap;
    line-height: 3.5rem;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 0 2rem;
    position: fixed;
    opacity: 0.4;
    transition: opacity 1s;
    color: #8f8f8f;
}

.navbar:hover {
    opacity: 1 !important;
}

.logo {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 0.2rem 0.25rem 0;
}

.navbar-list {
    height: 100%;
}

.navbar-list-item {
    height: 100%;
    float: left;
    padding: 0 .4rem;
}

/* 返回顶部css */

.backtop {
    position: fixed;
    bottom: 4rem;
    bottom: 4rem;
    right: 5rem;
    width: 2rem;
    height: 2rem;
    opacity: 0.8;
    display: none;
    transition: opacity 0.5s;
}

.backtop:hover {
    opacity: 1;
}


/* 背景图片css */

.cotainer {
    background: url('../img/home_1.jpg');
    background-size: cover;
    height: 100vh;
    /*min-height: 500px;*/
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.direct-1 {
    font-size: 5rem;
    margin-bottom: .5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 0 5px #c3c3c3;
    /*box-shadow: inset 0 0 6px #8a8a8a;*/
}

.direct-2 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 0 10px #c3c3c3;
}

/* 底部内容css */

.content {
    width: 45rem;
    /*height: 80rem;*/
    padding: 3rem;
    margin: 0 auto;

}


.msgList {
    width: 100%;
    margin: 0 auto;
    color: #8f8f8f;
    font-size: .8rem;
}

.msgList-item {
    /*background: rgba(0,0,0,0.01);*/
    background: #fff;
    padding: 0.5rem 1rem;
    transition: all .5s ease;
    border-radius: 20px;
    margin-bottom: 2rem;

}

.msgList-item:hover {
    visibility: visible;
    /*animation-name: fadeIn;*/
    box-shadow: 0 6px 10px #8a8a8a;

}

.item-data {
    margin: .2rem 0;
}

.item-category {
    margin-right: 1rem;
}

.item-category img {
    width: 1rem;
    height: 1rem;
    margin: 0 .05rem;
    margin-bottom: .2rem;
    vertical-align: middle;

}

/*.item-category{*/
/*margin-right: 1rem;*/
/*}*/

.item-time img {
    width: 1rem;
    height: 1rem;
    margin: 0 .05rem;
    margin-bottom: .2rem;
    vertical-align: middle;

}

.item-title {
    padding: .3rem 0;
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: .05rem;
}

.item-img-sc {
    width: 100%;
    margin: 0 auto;
    height: 15rem;
}

.item-content {
    width: 36rem;
    max-height: 3rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.item-detail img {
    margin-top: 1rem;
    width: 1rem;
    height: 1rem;
}
